﻿namespace AppLab
{
    using System.Windows.Controls;
    using System.Windows.Navigation;
    using AppLab.Web.Services;

    /// <summary>
    /// Home page for the application.
    /// </summary>
    public partial class Home : Page
    {
        /// <summary>
        /// Creates a new <see cref="Home"/> instance.
        /// </summary>
        public Home()
        {
            InitializeComponent();

            this.Title = ApplicationStrings.HomePageTitle;
        }

        /// <summary>
        /// Executes when the user navigates to this page.
        /// </summary>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            //tysx_Submit p = new tysx_Submit();
            //FlowContext p = new FlowContext();
            //p.Submit(new tysx_Submit()
            //{
            //    SubmitID = 0,
            //    AnythingElseName = "Nothing",
            //    tysx_MediaClient = new tysx_MediaClient()
            //    {
            //        MediaClientID = 0,
            //        MediaClientName = "5345",
            //    }
            //});
        }
    }
}